Add a section about initialization to the migration guide
authorMatthias Clasen <mclasen@redhat.com>
Thu, 19 Jan 2017 18:52:52 +0000 (13:52 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 19 Jan 2017 18:53:11 +0000 (13:53 -0500)
Just the facts.

docs/reference/gtk/migrating-3to4.xml

index 537aad0aa741025cc2ef711f4a46243253118e8c..f33cc15c4f04a770edc2583fc7876a516c633fcc 100644 (file)
         use.
       </para>
     </section>
+
+    <section>
+      <title>Stop passing commandline arguments to gtk_init()</title>
+      <para>
+        The gtk_init() and gtk_init_check() functions no longer accept commandline
+        arguments. Just call them without arguments. Other initialization functions
+        that were purely related to commandline argument handling, such as
+        gtk_parse_args() and gtk_get_option_group(), are gone. The APIs to
+        initialize GDK separately are also gone, but it is very unlikely
+        that you are affected by that.
+      </para>
+    </section>
   </section>
 
 </chapter>